package com.imay.live.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.imay.live.model.HelpModel;
import com.imay.live.R;

import java.util.List;

/**
 * Created by  nick on 2017/5/9 0009.
 * 帮助和反馈
 */

public class HelpAdapter extends BaseQuickAdapter<HelpModel.HelpItemModel,BaseViewHolder> {

    public HelpAdapter(List<HelpModel.HelpItemModel> data) {
        super(R.layout.item_help,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, HelpModel.HelpItemModel item) {
        helper.setText(R.id.tv_content_help,item.getName());
    }
}
